﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/Public.master" AutoEventWireup="true"
    CodeFile="Registration.aspx.cs" Inherits="Registration" Async="true" AsyncTimeout="1000" %>
    <asp:Content  ID="cntHeaderContent" ContentPlaceHolderID="cphHead" runat="Server">
    <script src="Javascripts/jquery/jquery.js" type="text/javascript"></script>
    <script src="Javascripts/common/RegExUtil.js" type="text/javascript"></script>
    <script src="Javascripts/common/ApplicationCommon.js" type="text/javascript"></script>
     <link href="App_Themes/Default/css/main_style.css" rel="stylesheet" type="text/css" />
    </asp:Content>
<asp:Content ID="cntBodyContent" ContentPlaceHolderID="cphBodyContent" runat="Server">

   <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="middle" style="width:450px;">
                <br />
                <img alt="" src="Images/login_poster.gif" />
              
            </td>
            <td valign="middle" align="center">
            <symbonix:ResponseMessage ID="ResponseMessage1" runat="server"></symbonix:ResponseMessage>
            <asp:Panel ID="pnlRegisterStep1" runat="server">
                <table cellpadding="2" cellspacing="2">
                    <tr><td align="center">
                        
                    <asp:ValidationSummary ID="ValidationSummary1" CssClass="ValidationGroupErrors" runat="server" ShowMessageBox="true" ShowSummary="false" DisplayMode="BulletList" HeaderText="You have missed the followings:"  /></td></tr>
                     <tr><td><span class="input_label">User Name</span></td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtUserName" Width="300px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtUserName" runat="server" ErrorMessage="User Name is required" ControlToValidate="txtUserName" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                     <tr><td>&nbsp;</td></tr>
                    <tr><td><span class="input_label">First Name</span></td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtFirstName" Width="300px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvFirstName" runat="server" ErrorMessage="First Name is required" ControlToValidate="txtFirstName" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                     <tr><td>&nbsp;</td></tr>
                    <tr><td><span class="input_label">Last Name</span></td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtLastName" Width="300px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtLastName" runat="server" ErrorMessage="Last Name is required" ControlToValidate="txtLastName" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                     <tr><td>&nbsp;</td></tr>
                    <tr><td>Password</td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtPassword" Width="300px" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtPassword" runat="server" ErrorMessage="Password is required" ControlToValidate="txtPassword" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                            <symbonix:PasswordValidator ID="PasswordValidator1" runat="server" ControlToValidate="txtPassword" SetFocusOnError="true" Display="None" ErrorMessage="Incorrect password format" EnableClientScript="true"  ></symbonix:PasswordValidator>
                        </td>
                    </tr>
                    <tr><td>&nbsp;</td></tr>
                    <tr><td><span class="input_label">Password</span> (confirm)</td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtConfirmPassword" Width="300px" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtConfirmPassword" runat="server" ErrorMessage="Confirm password is required" ControlToValidate="txtConfirmPassword" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="cmvtxtConfirmPassword" runat="server" ErrorMessage="Password and Confirm Password must be same" SetFocusOnError="true" Display="None" ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" Type="String"></asp:CompareValidator>
                         
                        </td>
                    </tr>
                     <tr><td>&nbsp;</td></tr>
                    <tr><td><span class="input_label">Email Address</span></td></tr>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txtEmail" Width="300px" ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtEmail" runat="server" ErrorMessage="Email is required" ControlToValidate="txtEmail" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revtxtEmail"  ControlToValidate="txtEmail" 
                                Display="None" SetFocusOnError="true" runat="server" 
                                ErrorMessage="Incorrect Email format" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                  
                    <tr><td>&nbsp;</td></tr>
                    <tr>
                        <td>
                            
                            <asp:LinkButton runat="server" ID="lnbSignIn" CssClass="blue_button" 
                                Text="Next" onclick="lnbSignIn_Click"></asp:LinkButton>
                        </td>
                    </tr>
                     
                </table>
                </asp:Panel>
            
            </td>
        </tr>
    </table>
   
  
</asp:Content>
